﻿using Abp.Application.Features;
using Abp.Localization;

namespace pandx.Mulan.Features
{
    public class AppFeatureProvider:FeatureProvider
    {
        public override void SetFeatures(IFeatureDefinitionContext context)
        {
            var chatFeature = context.Create(
                AppFeatures.ChatFeature,
                defaultValue: "false",
                displayName:L("测试"),
                null
            );
        }
        private static ILocalizableString L(string name)
        {
            return new LocalizableString(name, CoreConsts.LocalizationSourceName);
        }
    }
}